Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send RFC 7231 Formatted User Agent #761

Merged
merged 1 commit into from
May 25, 2018
Merged

Send RFC 7231 Formatted User Agent #761

merged 1 commit into from
May 25, 2018

Conversation

f2prateek
Copy link
Contributor

As per the library guidelines, we want to send a custom user agent for all requests from this library.

https://paper.dropbox.com/doc/Analytics-library-guidelines-2trBhLKQD4Soz4VatvuGR#:uid=631141099033910690508560&h2=User-Agent

The header is sent in the format analytics-ios/<version>, where version is the same version sent in context.library.version for events.

Ref: https://segment.atlassian.net/browse/LIB-381

As per the library guidelines, we want to send a custom user agent for all requests from this library.

https://paper.dropbox.com/doc/Analytics-library-guidelines-2trBhLKQD4Soz4VatvuGR#:uid=631141099033910690508560&h2=User-Agent

The header is sent in the format `analytics-ios/<version>`, where version is the same version sent in `context.library.version` for events.
@codecov-io
Copy link

Codecov Report

Merging #761 into master will decrease coverage by 1.43%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #761      +/-   ##
==========================================
- Coverage   86.96%   85.53%   -1.44%     
==========================================
  Files          36       52      +16     
  Lines        2616     2571      -45     
  Branches      176        0     -176     
==========================================
- Hits         2275     2199      -76     
- Misses        336      372      +36     
+ Partials        5        0       -5

@f2prateek f2prateek merged commit 449800c into master May 25, 2018
@f2prateek f2prateek deleted the send-user-agent branch May 25, 2018 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants